package com.bdqn.ch05JD;

/**
 * 装备类
 */
public class Equip {
    private String name;// 装备名称
    private String type;// 装备类型，头盔，铠甲
    private Long speedPlus;// 速度增效
    private Long attackPlus;// 攻击增效
    private Long defencePlus;// 防御增效

    public Equip() {

    }

    public Equip(String name, String type, Long speedPlus, Long attackPlus, Long defencePlus) {
        this.name = name;
        this.type = type;
        this.speedPlus = speedPlus;
        this.attackPlus = attackPlus;
        this.defencePlus = defencePlus;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getSpeedPlus() {
        return speedPlus;
    }

    public void setSpeedPlus(Long speedPlus) {
        this.speedPlus = speedPlus;
    }

    public Long getAttackPlus() {
        return attackPlus;
    }

    public void setAttackPlus(Long attackPlus) {
        this.attackPlus = attackPlus;
    }

    public Long getDefencePlus() {
        return defencePlus;
    }

    public void setDefencePlus(Long defencePlus) {
        this.defencePlus = defencePlus;
    }
}
